package com.yangpizhu.gulimall.member;

import com.yangpizhu.api.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * <p>
 * 会员服务启动类
 * </p>
 * @author yangwei
 * @since 2025/11/13 23:03
 */
@EnableFeignClients(
        basePackages = "com.yangpizhu.api.client", // OpenFeign 客户端扫描包的路径
        defaultConfiguration = DefaultFeignConfig.class // OpenFeign 默认配置
)
@MapperScan("com.yangpizhu.gulimall.member.dao")
@SpringBootApplication
public class GulimallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallMemberApplication.class, args);
    }

}
